package com.obas.model.business;

import java.util.List;

import com.ease.model.NamespaceModel;
import com.obas.type.EntityObjectType;

public class Explorer extends NamespaceModel {

	private static final long serialVersionUID = -8173996550743153826L;

	/**
	 * 图标
	 */
	private String icon;

	/**
	 * 实例的图标
	 */
	private String childIcon;

	/**
	 * 父引用
	 */
	private long parentExplorerId;

	private Explorer parentExplorer;

	private List<Explorer> childExplorers;

	/**
	 * 是否展开
	 */
	private Boolean expand;

	private Boolean alsoFolder;

	private EntityObjectType entityType;

	private Boolean display;

	private Boolean addExplorerable;

	private boolean leaf;

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getChildIcon() {
		return childIcon;
	}

	public void setChildIcon(String childIcon) {
		this.childIcon = childIcon;
	}

	public long getParentExplorerId() {
		return parentExplorerId;
	}

	public void setParentExplorerId(long parentExplorerId) {
		this.parentExplorerId = parentExplorerId;
	}

	public Explorer getParentExplorer() {
		return parentExplorer;
	}

	public void setParentExplorer(Explorer parentExplorer) {
		this.parentExplorer = parentExplorer;
	}

	public List<Explorer> getChildExplorers() {
		return childExplorers;
	}

	public void setChildExplorers(List<Explorer> childExplorers) {
		this.childExplorers = childExplorers;
	}

	public Boolean getExpand() {
		return expand;
	}

	public void setExpand(Boolean expand) {
		this.expand = expand;
	}

	public Boolean getAlsoFolder() {
		return alsoFolder;
	}

	public void setAlsoFolder(Boolean alsoFolder) {
		this.alsoFolder = alsoFolder;
	}

	public void setEntityType(EntityObjectType entityType) {
		this.entityType = entityType;
	}

	public EntityObjectType getEntityType() {
		return entityType;
	}

	public void setDisplay(Boolean display) {
		this.display = display;
	}

	public Boolean getDisplay() {
		return display;
	}

	public Boolean getAddExplorerable() {
		return addExplorerable;
	}

	public void setAddExplorerable(Boolean addExplorerable) {
		this.addExplorerable = addExplorerable;
	}

	public boolean isLeaf() {
		return leaf;
	}

	public void setLeaf(boolean leaf) {
		this.leaf = leaf;
	}

}
